<?php

namespace AppVue\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * AppVue\Models\RecordChild
 *
 * @property int $id
 * @property int $records_id
 * @property string $title
 * @property string $description
 * @property string $common
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 * @property-read \AppVue\Models\Record $record
 * @method static \Illuminate\Database\Query\Builder|\AppVue\Models\RecordChild whereCommon($value)
 * @method static \Illuminate\Database\Query\Builder|\AppVue\Models\RecordChild whereCreatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\AppVue\Models\RecordChild whereDescription($value)
 * @method static \Illuminate\Database\Query\Builder|\AppVue\Models\RecordChild whereId($value)
 * @method static \Illuminate\Database\Query\Builder|\AppVue\Models\RecordChild whereRecordsId($value)
 * @method static \Illuminate\Database\Query\Builder|\AppVue\Models\RecordChild whereTitle($value)
 * @method static \Illuminate\Database\Query\Builder|\AppVue\Models\RecordChild whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class RecordChild extends Model
{
    public function record() {
        return $this->belongsTo(Record::class);
    }
}
